package com.zyguo.sdk.websocket;

import java.io.Serializable;

import org.msgpack.annotation.Message;

@Message
public class ResponseMsg implements Serializable {
	private static final long serialVersionUID = 2860030191638588765L;
	private int msgType;
	private int userId;
	private int msgId;
	private int inbilin;  // 0: 不在比邻内, 1:在比邻内
	private int inCalling;  // 0： 不在通话中， 1：在通话中
	
	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getMsgType() {
		return msgType;
	}

	public void setMsgType(int msgType) {
		this.msgType = msgType;
	}

	public int getInbilin() {
		return inbilin;
	}

	public void setInbilin(int inbilin) {
		this.inbilin = inbilin;
	}

	public int getInCalling() {
		return inCalling;
	}

	public void setInCalling(int inCalling) {
		this.inCalling = inCalling;
	}
	
	@Override
	public String toString() {
		return "userId=" + userId +",msgType=" + msgType + ",msgId=" + msgId + ",inbilin=" + inbilin + ",incalling=" + inCalling;
	}

	public int getMsgId() {
		return msgId;
	}

	public void setMsgId(int msgId) {
		this.msgId = msgId;
	}
	


}
